package com.pactera.madp.cp.api.entity.activity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@TableName("cp_activity")
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "活动")
public class ActivityEntity extends BaseEntity<ActivityEntity> {
    @TableId
    private Integer id;

    private String actName;
    private Integer actStatus = 0;
    private String actCover;
    private String actLink;
    private Integer actOrder;
    private String actReason;
    private LocalDateTime startTime;
    private LocalDateTime endTime;

    private Integer corpId;
}
